package com.book.system.entity;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * lend_list
 *
 * @author
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class LendList implements Serializable {

    /**
     * 序列化版本号
     */

    private static final long serialVersionUID = 1L;
    /**
     *  借阅编号
     */
    private Integer serNum;
    /**
     * 图书编号
     */

    private Integer bookId;
    /**
     * 读者编号
     */

    private Integer readerId;
    /**
     * 借阅日期
     */

    private LocalDate lendDate;
    /**
     * 归还日期
     */

    private LocalDate backDate;
    /**
     * 是否归还
     */

    private Integer flag;
    /**
     * 是否超期
     */

    private Integer lossflag;
    /**
     * 超期天数
     */

    private LocalDate lossDate;

    private LocalDate payDate;
}